#pragma once
#include "StdAfx.h"


/*
	This is a singleton container class that contains all other singletons.
	Its instance is called "globals".

	Arseni Natapov, 1/11/2011
*/
class SingletonManager
{
public:
	SingletonManager(void);
	~SingletonManager(void);
	//globally accesible modules
	GraphicsManager		Graphics;
	ContentManager		Content;
	GameManager			Game;
	InputManager		Input;
	//config path
	string				ConfigFolderPath;
	void InitContent();
	void InitPhysics();
	void Init(HDC);
	NxPhysicsSDK* GetPhysicsSDK();
private:
	NxPhysicsSDK *PhysicsSDK;
	SensorReport Sensor;
	string GetAux(BBVector<sptr<Binding>>&, string);
	bool GetBool(BBVector<sptr<Binding>>&, string);
};

